package com.and9.mchen.mcmusic.dao.factory;

import com.and9.mchen.mcmusic.dao.IIntroductionDao;
import com.and9.mchen.mcmusic.util.EntityHelper;

public class IntroductionDaoFactory {

	private IIntroductionDao introductionDao = null;
	private static IntroductionDaoFactory instance = new IntroductionDaoFactory();
	
	private  IntroductionDaoFactory(){
		introductionDao=(IIntroductionDao) EntityHelper.createDaoByProperty("IIntroductionDaoClass");
	}
	public static IntroductionDaoFactory getInstance(){
		return instance;
	}
	public IIntroductionDao getIntroductionDao(){
		return introductionDao;
	}
	
}
